package com.ccrfid.rmc6.repository.personnel;

import com.ccrfid.rmc6.entity.personnel.PersonnelMutualGroupEntity;
import com.ccrfid.rmc6.repository.search.SearchableRepository;
import org.springframework.data.repository.Repository;

public interface PersonnelMutualGroupRepository extends Repository<PersonnelMutualGroupEntity, Long>,
        SearchableRepository<PersonnelMutualGroupEntity> {

    PersonnelMutualGroupEntity getById(Long groupId);

    PersonnelMutualGroupEntity save(PersonnelMutualGroupEntity entity);

    Boolean existsById(Long id);

    void deleteById(Long groupId);
}
